package org.example.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("teachers")
public class TeacherEntity {
    @TableId(type= IdType.AUTO)
    private Integer teacherId;
    private int classId;
    private Date createdAt;
    private int level;
    private String password;
    private String teaRealname;
    private Date updatedAt;
}
